#pragma once
#include "DownDlg.h"


class CDownDlgEx : public CDownDlg
{

public:

	CDownDlgEx(void);
	~CDownDlgEx(void);


public:

	HBRUSH			m_hBrushCtrl_1;
	HBRUSH			m_hBrushCtrl_2;
	

public:

	virtual bool InitWindow();
	virtual HBRUSH DrawCtrl(CDC* pDC, UINT nCtrlID);
	virtual bool Skin_ButtonPressed(CString m_ButtonName);


protected:

	bool InitArgs();
	bool InitOS();
	bool InitListControl();
	bool InitButton();
	bool InitLabel();
	bool InitProgressbar();
	bool InitWebBrowser();


	//pressed
	void PressedExit();
	void PressedPlay();
	void PressedStart();
	void PressedStop();
	void PressedOpenSavePath();


protected:

	virtual BOOL OnInitDialog();


public:

	DECLARE_MESSAGE_MAP()
	afx_msg BOOL OnQueryOpen();
};

